using System;
using System.Collections.Generic;
using System.Linq;

namespace Colorful.Apps.Models
{
    /// <summary>
    /// App会员
    /// </summary>
    public class Member : Colorful.Models.BaseId
    {
        /// <summary>
        /// WeChatUser表Id
        /// </summary>
        public string WeChatUserId { get; set; }
        /// <summary>
        /// 数字Id
        /// </summary>
        public long NumberId { get; set; }
        /// <summary>
        /// 登陆Id
        /// </summary>
        public string LoginId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string Nickname { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Photo { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public Colorful.Models.AuditingStatus Status { get; set; }
        /// <summary>
        /// 拥有的应用列表
        /// </summary>
        public List<int> Apps { get; set; }
        /// <summary>
        /// 最后登陆时间
        /// </summary>
        public DateTime LastLogin { get; set; }
        /// <summary>
        /// SessionId
        /// </summary>
        public string SessionId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public long ByOrder { get; set; }
    }
}
